.container {
  --uib-color: var(--color-accent-500);
  --uib-speed: 1.75s;
  --uib-stroke: 2px;
  --uib-bg-opacity: 0.1;

  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  transform: translate3d(0, 0, 0);

  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: var(--uib-stroke);

  border-radius: calc(var(--uib-stroke) / 2);
}

.container::before {
  content: '';

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  opacity: var(--uib-bg-opacity);
  background-color: var(--uib-color);

  transition: background-color 0.3s ease;
}

.container::after {
  content: '';

  transform: translateX(-95%);

  width: 100%;
  height: 100%;

  background-color: var(--uib-color);
  border-radius: calc(var(--uib-stroke) / 2);

  transition: background-color 0.3s ease;
  animation: wobble var(--uib-speed) ease-in-out infinite;
}

@keyframes wobble {
  0%,
  100% {
    transform: translateX(-95%);
  }

  50% {
    transform: translateX(95%);
  }
}

.loader {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100vh;
}
